package com.lyj.system.service.question;

import com.lyj.system.domain.question.dto.QuestionAddDTO;
import com.lyj.system.domain.question.dto.QuestionEditDTO;
import com.lyj.system.domain.question.dto.QuestionQueryDTO;
import com.lyj.system.domain.question.vo.QuestionDetailVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-17
 * Time: 22:46
 */
@Service
public interface QuestionService {
    List<?> list(QuestionQueryDTO questionQueryDTO);

    int add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}
